package com.zygh.lz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zygh.lz.entity.SignEquipage;
import com.zygh.lz.service.SignEquipageService;
import com.zygh.lz.dao.SignEquipageMapper;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Objects;

/**
 * @author Administrator
 * @description 针对表【sign_equipage(签到装备对应表)】的数据库操作Service实现
 * @createDate 2023-03-29 17:00:48
 */
@Service
public class SignEquipageServiceImpl extends ServiceImpl<SignEquipageMapper, SignEquipage>
        implements SignEquipageService {

    public List<Map<String, Objects>> getEquipageBy(String staffTel) {
        return this.getBaseMapper().getEquipageBy(staffTel);
    }

    public List<String> getEquipageGpsIdListByPoliceNumberAndTypeCode(String policeNumber, String typeCode) {
        return baseMapper.getEquipageGpsIdListByPoliceNumberAndType(policeNumber, typeCode);
    }
}




